﻿using System.Collections.Generic;

namespace Gamey.N64
{
    class Z64HeaderReader : RomReader
    {
        static readonly IDictionary<string, FieldReader> FieldReaders = new Dictionary<string, FieldReader>
        {
            { "Name", new CapitalizedFieldReader(0x20, 27, new char[] { '\0', ' ' }) }
        };

        protected override string RomFileExtension
        {
            get { return ".z64"; }
        }

        protected override IDictionary<string, FieldReader> GetFieldReaders()
        {
            return FieldReaders;
        }
    }
}
